#
# Makefile for the linux kernel.
#

extra-y                := head_$(BITS).o head$(BITS).o head.o init_task.o vmlinux.lds

CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE)

obj-y				+= cpu/

ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_early_printk.o = -pg
endif

obj-$(CONFIG_EARLY_PRINTK)	+= early_printk.o
#obj-y	+= early_printk.o
nostackp := $(call cc-option, -fno-stack-protector)
CFLAGS_vsyscall_64.o	:= $(PROFILING) -g0 $(nostackp)

obj-$(CONFIG_X86_64)	+= vsyscall_64.o
